package com.jumi.microservice.dto.logistics;


import com.jumi.microservice.common.base.dto.BaseRequest;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author by mazhao
 * @Classname AddLogisticsPackageRequest
 * @Description TODO
 * @Date 2020/8/6 9:22
 */
public class GoodsEntity extends BaseRequest  {


    /**
     * 唯一标识
     */
    private Integer id;

    /**
     * 物流号
     */
    @ApiModelProperty("内部包裹号")
    private String logisticsNo;

    /**
     *
     */
    @ApiModelProperty("购买人ID")
    private Long buyerId;

    /**
     * 订单ID
     */
    @ApiModelProperty("订单ID")
    private Integer orderId;

    /**
     *
     */
    @ApiModelProperty("订单编号")
    private String orderNo;

    /**
     * 商品ID
     */
    @ApiModelProperty("商品ID")
    private Integer goodsId;

    /**
     * 商品名称
     */
    @ApiModelProperty("商品名称")
    private String goodsName;

    /**
     * 是否有规则
     */
    @ApiModelProperty("是否有拆合单规则 0 否1 是")
    private Byte isRule = 0;

    /**
     * 应发仓库
     */
    @ApiModelProperty("应发仓库")
    private Integer shouldWarehouse;

    /**
     * 实发仓库
     */
    @ApiModelProperty("实发仓库")
    private Integer realWarehouse;

    /**
     * 应发数量
     */
    @ApiModelProperty("商品数量")
    private Integer goodsAmount;
    /**
     * 应发数量
     */
    @ApiModelProperty(value = "商品数量",hidden = true)
    private Integer goodsAmount2;

    /**
     * 是否自营
     */
    @ApiModelProperty("是否自营 0 否 1是")
    private Byte selfFlag;

    /**
     *
     */
    @ApiModelProperty("商品重量")
    private BigDecimal goodsWeight;

    /**
     *
     */
    @ApiModelProperty("商品标签")
    private Integer goodsLabel;

    /**
     *
     */
    @ApiModelProperty("商品价格")
    private BigDecimal goodsPrice;

    /**
     *
     */
    @ApiModelProperty(value = "SPU ID",hidden = true)
    private Date orderCreateTime;

    @ApiModelProperty("SPU ID")
    private Integer spuId;

    /**
     *
     */
    @ApiModelProperty("是否组合商品")
    private Byte isGroup = 0;
    /**
     *
     */
    @ApiModelProperty("商品列表图")
    private String goodsCoverImg;

    @ApiModelProperty("收件人姓名")
    private String receiverName;

    @ApiModelProperty("收件人地址")
    private String receiverAddress;

    @ApiModelProperty("收件人手机号")
    private String receiverPhone;

    @ApiModelProperty("是否单独包裹")
    private Byte isAlone = 0;

    @ApiModelProperty("商品最大数量")
    private Integer goodsMaxAmount;

    @ApiModelProperty("供应商ID")
    private Integer supplierId;

    @ApiModelProperty("是否海外商品")
    private Byte isImport;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Byte getIsImport() {
        return isImport;
    }

    public Integer getGoodsAmount2() {
        return goodsAmount2;
    }

    public void setGoodsAmount2(Integer goodsAmount2) {
        this.goodsAmount2 = goodsAmount2;
    }

    public void setIsImport(Byte isImport) {
        this.isImport = isImport;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public Byte getIsAlone() {
        return isAlone;
    }

    public void setIsAlone(Byte isAlone) {
        this.isAlone = isAlone;
    }

    public Integer getGoodsMaxAmount() {
        return goodsMaxAmount;
    }

    public void setGoodsMaxAmount(Integer goodsMaxAmount) {
        this.goodsMaxAmount = goodsMaxAmount;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public String getGoodsCoverImg() {
        return goodsCoverImg;
    }

    public void setGoodsCoverImg(String goodsCoverImg) {
        this.goodsCoverImg = goodsCoverImg;
    }

    public Byte getIsGroup() {
        return isGroup;
    }

    public void setIsGroup(Byte isGroup) {
        this.isGroup = isGroup;
    }

    public Integer getSpuId() {
        return spuId;
    }

    public void setSpuId(Integer spuId) {
        this.spuId = spuId;
    }

    public Date getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(Date orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Integer getGoodsLabel() {
        return goodsLabel;
    }

    public void setGoodsLabel(Integer goodsLabel) {
        this.goodsLabel = goodsLabel;
    }

    public BigDecimal getGoodsWeight() {
        return goodsWeight;
    }

    public void setGoodsWeight(BigDecimal goodsWeight) {
        this.goodsWeight = goodsWeight;
    }

    public Byte getSelfFlag() {
        return selfFlag;
    }

    public void setSelfFlag(Byte selfFlag) {
        this.selfFlag = selfFlag;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getShouldWarehouse() {
        return shouldWarehouse;
    }

    public void setShouldWarehouse(Integer shouldWarehouse) {
        this.shouldWarehouse = shouldWarehouse;
    }

    public Integer getRealWarehouse() {
        return realWarehouse;
    }

    public void setRealWarehouse(Integer realWarehouse) {
        this.realWarehouse = realWarehouse;
    }

    public Integer getGoodsAmount() {
        return goodsAmount;
    }

    public void setGoodsAmount(Integer goodsAmount) {
        this.goodsAmount = goodsAmount;
    }

    public Byte getIsRule() {
        return isRule;
    }

    public void setIsRule(Byte isRule) {
        this.isRule = isRule;
    }

    public String getLogisticsNo() {
        return logisticsNo;
    }

    public void setLogisticsNo(String logisticsNo) {
        this.logisticsNo = logisticsNo;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    @Override
    public void checkRequest() {

    }
}
